package top.laoshuzi.designpatterns.base.behavior.template;

import org.junit.Test;

public class Client {

    @Test
    public void operation() {
        AbstractTemplate template1 = new ConcreteTemplate1();
        template1.operation1();
        template1.operation2();
        AbstractTemplate template2 = new ConcreteTemplate2();
        template2.operation1();
        template2.operation2();
    }
}
